Added some unit-tests for photo category.