Modify tests to avoid mutating Cosmos
Use jasmine toHaveBeenCalledWith method
Merge pull request #3 from uberVU/1-dynamic-children

Modify tests to avoid mutating Cosmos