Categories test has been refactored.