Add print version and digital write unit tests

Initial unit tests to address #17.