fix Decryptor::getMEModifier()
update invention unit test, fix cache test