add more tests + fix bug in install