add tests for all implemented functionality in erlang server