more tests for the erlang code