SampleResource unitary and integration tests.