Add explanatory assert message to sample