Tests for erlang