Test compare instructions