add library function call to the test