changed more cases of .megatest to .mtdb