added erlang thih tests.
fix thih erlang tests.