[CLEANUP] - Added unit tests for serialization
- Implemented equals in domain entities for serialization tests