fix bug with multiple arguments to comparison operators, add compound statements to tests