fixed some failed test cases.
Merge pull request #88 from jackfengibm/fix_test_cases

fixed some failed test cases.