replaced enclose_test to Scheme