Update the issue found with a proper unit test