Added States.requireNull and updated tests, closes #68.