Convert tests for api and app controllers to CoffeeScript