PHP-1142: Dump WriteResult object in write tests