Remove shadowy set/getMessage methods and correct test to be more realistic
(related to #645)