`_test_expected_dict`, maybe? I'd prefer the name to make it clear that it's performing assertions.