avr: added pb test mode