Hydrator doesn't work for boolean field types that start with "is"

My Doctrine entity has a isApproved method and a setIsApproved method. But my field is also called isApproved and not just approved. Only with the supplied code in this pull request that will work.
Can a test be added, instead of modifying a pre-existing test?