bump compile-testing dependency to 0.6
allow top-level classes with no package

FactoryWriter.getPackage() assumed that the fully qualified class name
would contain a package and hence failed with a
StringIndexOutOfBoundsException.