Update api_controller_test.rb

added follow tests
Merge pull request #2 from saneUkrainian/patch-2

Update api_controller_test.rb