Add unit tests, fix scene.morphTo* to work with unit tests.