Add basic schema tests and an error message