updated test for __filename & __dirname