Test that implicit null checks are recorded correctly for longs and doubles.