fmap always returns immutable object
fix test case