Added patch stream tests