Convert ASSERT_TRUEs to ASSERT_EQs when checking lengths.

I've converted the ASSERT_TRUE( xLength == n ) to ASSERT_EQ( xLength, n )
in the payload unit tests as per Caitlin's request.