dir shows var as testname
better styling of dir