Added a splitDiv method and corresponding splitDiv tests.