Add test for empty sequence preservation