Add test case for catching schema issues in action