Added tests to Schema module