tasks: add test case for readonly MDS

Signed-off-by: Yan, Zheng <zyan@redhat.com>
maybe "while {loop}" instead of "while True" and a break? Just to make the parameter dependency more obvious.