adds tests and migrations for user