adapters and decorator tests