add tests for erlide_model