Some more tests for phrase rescore.

Basically, these are just more things that I've seen blow up when I had
made mistakes and want to make sure they don't blow up again.

Change-Id: Ifc3fcc2099789fd545556a9339198b6512f602a5
Merge "Some more tests for phrase rescore."