Add tests for _getModel and getName