replace binary comparison with our new equals method

first test on travis