adds tests for resources