Add unit test for empty name