erlang: adding generic assert for unit testing