Make sure initialisation of javascript is done in the test