Used assertTypedEquals in HList tests

Plus removed trailing spaces.
Ah yes that makes sense. Agreed that it should go in this PR and then I think it's good to go.