Fix ScalaTest deprecation warnings
Fix Scala 2.11 deprecation warnings
Import FlatFileWriter and FlatFileWriterOptions