Add test to verify that checkedChangeListener's are notified.

Closes #21
Add state save tests
Test that pin value updates with setChecked
Better way to test exceptions being thrown
Assert that max is not set to less than the current progress. Also drop
the assertions for Exceptions, just catching them is enough.
Merge pull request #23 from f2prateek/more-tests

More tests