Add tests for tryEvaluate functions at test_tryEvaluate.c