[IMP] replace equality None test by identity test