Added tests for firmata adaptor.