modified add new category jasmine test