Fix section visualisation view bug, improve section test robustness