Added tests for splitAt