Resource tests.