adding initial test for Resource