Test with an array of tripcodes [fixes #3]

Iterating over arrays is faster than iterating over objects.