Fixed test mode in the editor

You can now switch to test mode without saving a level first