Fixed similarity tests