state_machine gem added to Gemfile
detector test now does not stub new
All annotation functionality removed