Merge "Some tests for SharedPreferences." into gingerbread