Added tests for SharedPreferenceHelper