test cases and separated contractEvaluator for thirft