Add unit test for fixed bug #53