Added unit test for verification with failure message.