fixed function def and call again
add more functions tests