Add test case for top-level resources.