various fixes for test_cases for fastcomp