Added tests for category views