Added test for single retained message