test for empty char array