                 
                 it("unloads specified record") {
                     let users = [User(id: 3, name: "Baz"), User(id: 4, name: "Foo")]
-                    self.store.push(records: users)
+                    _ = try? self.store.push(records: users)
                     expect(self.store.peek(all: User.self)).to(haveCount(2))
                     self.store.unload(record: User(id: 3, name: "Baz"))
                     expect(self.store.peek(all: User.self)).to(haveCount(1))

/// Custome matcher for performing equality on records
public func beUser<T: Record>(_ expectedValue: T?) -> MatcherFunc<T> {
    return MatcherFunc { actualExpression, failureMessage in
        failureMessage.postfixMessage = "equal <\(expectedValue)>"
        guard let actualValue = try actualExpression.evaluate(),
            let expectedValue = expectedValue else { return false }
        return actualValue == expectedValue

            
            context("when loading records in batches") {
                it("pushes multiple records into the store") {
                    _ = try? self.store.push(records: [User(id: 1, name: "Foo"), User(id: 2, name: "Boo")])
                    expect(self.store.peek(all: User.self)).to(haveCount(2))
                }
                
                it("does not duplicate records with the same id") {
                    _ = try? self.store.push(records: [User(id: 1, name: "Baz"), User(id: 4, name: "Foo"), User(id: 1, name: "Bar")])
                    let users = self.store.peek(all: User.self)
                    expect(users).to(haveCount(2))
                    expect(self.store.peek(record: User.self, id: ID(1))?.name).to(equal("Bar"))
