Fix pyboard.py tests.