Add test case for location table