Added func test