using tmp folder, fixes #5
refactored clone / install / test method