add an integration test that uses the <resource> element