Updates UTs and fixes bugs in Randomizer