DONE : tests for User storage in database