Add extra tests for StatementList::equals