add test for user.dir integration