Add test for splice to empty list