Added tests for schemas