Fix test errors by customizing objects comparison method