small code formatting improvements
unit tests for processor
tests for NewMessage command