Refactor definition schemas tests
Merge pull request #148 from spiral-project/refactor_definition_schemas_tests

Refactor definition schemas tests