Remove collection object after test; fixes #315