Added test for user instance method