you may have been a little aggressive with the ' vs. ". This would probably cause the assert to fail due to the " being an actual part of the message.