Make the test more reliable

Should fix random failures like
https://jenkins.gedmin.as/job/gtimelog/2/console