WIP: Added test_buildslave_protocols_pb, some minor fixes