More test cases for formula engine