Implemented simple and dirty comparison
Added corresponding tests