added unit test for multiple delayed and hidden messages