added tests for variable bindings
merge