Added tests.
Added test messages.