Split testing into whitebox (mocha-phantomjs) and blackbox (lotte)