fix some tests for function and binops