add test to verify #572