remove test directory at the end