Use MockFirmata and close stdin so the test quits right away.