ExecJS should have a feature that passes/fails the test based on the value of the result.