Modifies the schema tests to return a pass/fail exit code
This means we can make the tests play nicely with travis

The travis.yml script needs alteration to incorporate these changes