Testing resource

resource tests working