Added test for Categories controller