Added some test cases on user objects.