Tests, removed unused imports, setup_connection from install test