Add loop condition to testFrames and verify that Exception is thrown.
Add loop condition to testFrames and verify that Exception is thrown.

opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core