Modify MvnManager and Add test.