mds: fix tests