add test for empty