Dependency injection for repository object, removed test functionality - didn't actually test anything useful