Simplified the controller with jpa test fixture.