Added test for fixed bug.