Improve error message.
Improve ->newTestedInstance management.