Adding unit test for #290