fix bug initializing model functions in client; change one time model function method name to Model#evaluate
fix fn tests