#checkstyle
using getLibraries in writeIncludes(). fixes #18
also includes incomplete unit test