Portability issue is solved for TestCase 1 &3