Implement resource unit tests.