added tests and migrations to create app