preparet test infrastructure and implemeted tests for Category controller