Testing improvements.

The file reading function also gets tested now, and added the first
valid MO file parse test.