moving install_tests out of test directory
adding directory tests
minor refactor