adding test for NSUserDefault category