Added SplitAt with unit tests