Add isEmpty UnitTest

Add a unit test to test if an empty collection is empty.