Add a failing unit test to bulk.go, fix one bug already.

This is what I need to be working on.
The last package in the list was not added to failedPkgs.

Fixes the regression test.