test: add checks for protobuf2json_file function arguments and more tests