unit tests
tests on rule revert
remove note
Merge pull request #2 from peterbe/tests

Tests