Change panic functions to accept string as message.
Add TestPanicOnNil, TestPanicOnNotNil