Improving messages test

Since we create `Messages` class to handle messages and group it by severity, all tests must be moved to `MessagesTest` class. And I added a new tests to check if all messages are returned properly, by severity.
ah, ok...

I thought the line 100 was a method call :P