minor change to test cases for @Preference annotation