Fixed the unittests
Added a test for the BlockSplitter