Converts browse by category test to spec