tests before visualisation