Added test for category refresh