fix broken Editor unit tests

Fixes the 2 broken Editor unit tests on the build machine.