Fixed the TCO test in buggy browsers

Specifically, browsers that don't throw errors when the call stack is
exceeded. Fixes #199.