Fixed rspec error in mock.

Added missing enabled method to button.
Added test for button state

Modified rspec test to add test for state initialization.