add assertions to get more info for https://github.com/phetsims/scenery/issues/1398
add assertions to get more info for https://github.com/phetsims/scenery/issues/1398

phetsims/scenery,phetsims/scenery,phetsims/scenery