Shouldn't this be testing calls to Adaptor::pwm_write method?