Added some spec tests for User