Firehose test code