/Compile resource and associated test.