Fixed comparison tests