fix test cmd
remove cding to tmp dir