ground_state: fixed normalisation
test/visibility: minor fixes due to API change