add a test case for resource table