Tests for existence of Appearance and Datetime preferences

Change-Id: Idf3db3b3ac756bcf3e0802b30474c4deacdecd51