add function tests based on readme
add python library requirements