safe-eval tests (and assert they don't error)

so phantomjs doesn't hang if an exception is thrown in a test