Removed mock function from test_interpret