Add unit test for #180