updated all test cases