add Protobuff and JSON remote call tests