Pass in expected cue count to loadVtt for all payload tests.

Fixes #130.

Pleas review @caitp.

I've fixed it so that we are now passing in an expected cue count for all the payload
unit tests. This will prevent us from trying to get the head node from a cue that does
not exist.