Fixed current working directory bug, added test for change and set nosetest script