let's add sinkMode to the test tap constructor. If given a FileSource, you can get the sinkMode from there.  Also, let's add two constructor methods to the object to make this easy.