Fixed comparison test