TST: test_frame/test_sum not comparing correctly on smaller sized dtypes (GH6982)

closes #6982