ported test_scheme to midje test framework