test splitting logic