Adding tests for local model from file and new predict arguments