Improved the logging and fixed the test.js implementation
Added PWM functions: AnalogReadResolution, AnalogWriteResolution, Tone, and NoTone