lib func test added.