Tests, tests, and more tests.  Finishing the flash and messages libs.