added tests for schema service