Test primitive type comparisons