fix failing test for ancient erlang version