[#43] Unit test
fixes #43