StyleCop.
Added tests and implementation for checkpoint behavior.