Add unit tests and the starts of an os communication script