Adding test for category resource for apiv3. #222