'pthread' is now compatible with 'avr' so enable them in tests. All the tests ran on 'arduino-mega2560' when supported.