rename NSUserDefault methods
adding test cases