get rid of legacy methods and stuff
move schema def to tests
split schema def and impl in the tests