Remove deprecated flash_avr_test method and generic clean at the code.