Fixed bugs in eyesize_test and helpers.