Renamed stubs to mocks. Finished API controller test.