Migrating tests to eunit (#134)