This seems to test if the retained flag is set. Not sure if the implementation or the test is failing. https://github.com/wind-c/comqtt/blob/9c91ef6b86e11a7ca5d947dfcf6c0dd8319b86d4/mqtt/server_test.go#L2018