Using Schema definitions to make test passing