Fix test

Please comment this at the least. It isn't clear what is going on in the code alone.