Make additional pkg loading more robust.

* check if hook_scripts_pkgs is an array else break.
* Explicit definition of expected packages in both tests.
* Fix wrong package definition in test.yaml
Merge pull request #70 from chrisN777/hookscript_pkgs

Make additional pkg loading more robust.