return to previous dir if even phpunit failed