Add unit tests for the abstract model class