Modify tests to avoid mutating Cosmos

Related to: https://github.com/uberVU/cosmos/pull/2#discussion_r20983800