INT-2856: chnage equals to == and add test