undo tests
(re)implementing echo, dir and sh