added method make_interface and test test_make_interface