Fix failed Erlang tests for problems 3,6-7,9-10,12.
Simplify execution of Erlang tests.
Remove unnecessary file.
Fix Erlang compilation warnings.