added chdir+require test