added category resource tests -- updates #4