Web api controllers and unit test refactoring.