Refactores category jasmine tests