apply test_install into method