basic rspec test, fixed error in bulbstate class