Move test scene code out of Engine