add a test for erlang terms