Added assertion messages to unit tests.