changed tests to use collection methods for backwards compat.