Added test suite for a bug report