refactor: clarify the exception message

The delegate string is not well-format.
dev: add some scenario tests for first class tests.