Add tests for Statement::equals