STOP THE LINE: fixing flaky test

Adding import for Category