Unit tests: work-around to avoid "Unsafe JavaScript attempt to access frame" warning in PhantomJS 1.9.8