Corrected tests to use proper comparison.