first attempt at test for dir querying