unit test for splitter