Add StatementList::isEmpty

I wonder what `assertEmpty` and `assertSameSize` do on a `StatementList` object? Why does this fail for me but not on the server?