tests
changing name of 'class' to BBSM
adding event tests for transitions