added test for isEmpty method of collections
separated isEmpty tests
Merge pull request #3170 from buremba/unit-tests

added test for isEmpty method of collections