tests for equal statement