This is repeated in TestSink.scala, right?