passing fromInteger test case