updated testFirmata script