Add shared preference  Test