Added getCurrentDirectory tests + changed getCurrentDirectory()