Fix pyboard.py tests.
Merge pull request #547 from cjbarnes18/pyboard_module_fixes

Fix pyboard.py tests.