different way of testing that does not require ol3 api changes