add support for average operator
ensure that average operator not case sensitive
add extra average test