Some minor test fixing.
Changes to be committed:
modified:   app/controllers/api/v1/category_controller.rb
modified:   app/controllers/api/v1/graph_controller.rb
modified:   test/controllers/api/v1/category_controller_test.rb
modified:   test/controllers/api/v1/graph_controller_test.rb