Wrote a test spec for User