Remove display tests from testpreferences and make a new file Signed-off-by: Jan Iversen <jani@apache.org>