Update .gitignore.
Add Assertion.
Add IllegalStateAssertion and tests.