ecb support and tests