Adds tests for build pipeline

* extracts `vendoredPackage` and `htmlbarsPackage`