Test for net empty.
Add test forcolections as list facotry.