Add another sample function and tests