 
     func testLast() {
         XCTAssertEqualObjects($.last([3, 4, 5])!, 5, "Returns last element in array")
-        XCTAssertNil($.last(NSObject[]()), "Returns nil when array is empty")
+        XCTAssertNil($.last([NSObject]()), "Returns nil when array is empty")
     }
 
     func testFindIndex() {


    func testFirst() {
        XCTAssertEqualObjects($.first([1, 2, 3, 4])!, 1, "Return first element")
        XCTAssertNil($.first(NSObject[]()), "Returns nil when array is empty")
    }

    func testSecond() {
        XCTAssertEqualObjects($.second([1, 2, 3, 4, 5, 6, 7, 8, 9, 10])!, 2, "Return second element")
        XCTAssertNil($.second(NSObject[]()), "Returns nil when array is empty")
    }
    
    func testThird() {
        XCTAssertEqualObjects($.third([1, 2, 3, 4, 5, 6, 7, 8, 9, 10])!, 3, "Return third element")
        XCTAssertNil($.third(NSObject[]()), "Returns nil when array is empty")
    }
    
    func testFourth() {
        XCTAssertEqualObjects($.fourth([1, 2, 3, 4, 5, 6, 7, 8, 9, 10])!, 4, "Return fourth element")
        XCTAssertNil($.fourt(NSObject[]()), "Returns nil when array is empty")
    }
    
    func testFifth() {
        XCTAssertEqualObjects($.fifth([1, 2, 3, 4, 5, 6, 7, 8, 9, 10])!, 5, "Return fifth element")
        XCTAssertNil($.fifth(NSObject[]()), "Returns nil when array is empty")
    }
    
    func testSixth() {
        XCTAssertEqualObjects($.sixth([1, 2, 3, 4, 5, 6, 7, 8, 9, 10])!, 6, "Return sixth element")
        XCTAssertNil($.sixth(NSObject[]()), "Returns nil when array is empty")
    }
    
    func testSeventh() {
        XCTAssertEqualObjects($.seventh([1, 2, 3, 4, 5, 6, 7, 8, 9, 10])!, 7, "Return seventh element")
        XCTAssertNil($.seventh(NSObject[]()), "Returns nil when array is empty")
    }
    
    func testEighth() {
        XCTAssertEqualObjects($.eighth([1, 2, 3, 4, 5, 6, 7, 8, 9, 10])!, 8, "Return eighth element")
        XCTAssertNil($.eighth(NSObject[]()), "Returns nil when array is empty")
    }
    
    func testNinth() {
        XCTAssertEqualObjects($.ninth([1, 2, 3, 4, 5, 6, 7, 8, 9, 10])!, 9, "Return ninth element")
        XCTAssertNil($.ninth(NSObject[]()), "Returns nil when array is empty")
    }
    
    func testTenth() {
        XCTAssertEqualObjects($.tenth([1, 2, 3, 4, 5, 6, 7, 8, 9, 10])!, 10, "Return tenth element")
        XCTAssertNil($.tenth(NSObject[]()), "Returns nil when array is empty")
    }

    func testNoop() {

    }

    func testSequence() {
        XCTAssertEqualObjects($.sequence(0...4), [0, 1, 2, 3], "Generates array of integers")
        XCTAssertEqualObjects($.sequence(-2.0...2.0), [-2.0, -1.0, 0.0, 1.0], "Generates array of doubles")
        XCTAssertEqualObjects($.sequence((0...20).by(5)), [0, 5, 10, 15], "Generates array with offset")
        // FIXME: EXC_BAD_INSTRUCTION (code=EXC_i386_INVOP, subcode=0x0) when "abc' is used with AssertEqualObjects
        // XCTAssertEqualObjects($.sequence("abc"), ["a", "b", "c"], "Generates array of characters")
        XCTAssert($.sequence("abc") == ["a", "b", "c"], "Generates array of characters")
