add unit test case of empty node