Add test for empty node attribute