MAINT more informative assertion failure in test_common