added test for a bad schema