cd(b) only if all tests pass - #187