added tests for left/right associativity