Fixed MKEY unittests, now supports FRAGKEY inputs