fix SubScene
add unit tests for SubScene
add SubScene to periscope