move install and test out of source