removing the array manip functions to seperate test file, testing splice function