Added two test cases for the tests of the instVar method of factor