Removed unused rebuild_db method in model
Remove setUp method (does the same its parent class setUp does)
Use repositories
Use repositories in API tests