Test inside javascript closures by sneaking a mole