added test for cd feature in REPL shell mode