Add test for empty case