testing split functionality in driver.c