move test files to spec/core/resources/
add spec/core/resources