added an unit test for b8c0840.