Fix broken billing statement command tests

The last commit of #1103 broke the tests. I must've forgetten to re-test, sorry guys.
Oh, right. That's a weird proxy object that changes the behaviour of `.write()`.