add demo unit tests for entity model validation