Fix unit test

Sorting of markers was non-deterministic and suddenly would fail.