Issue #504 first test added.

I've found problem in first test case from #504. When test case was fixed, I've found that it is already passed.