change directory and test