Add tests for __dirname __filename, nested requires, and private funcs