Implemented unit tests for almost all of class Reflip.
Fixed whatever bugs were revealed; cleaned up.
Added blanket.js test coverage reporting.