pass current context to `greater` helper

add context test for `greater` helper