Copy tests WIP, fix bug in assert module upgrades where the wrong value was being checked.