added patch test for resources -- updates #12