Adding test case for #167