Fixed misleading messages in test assertions.