added some more tests
added new role: dir