Fixed testcase for preferences