extension and configuration class + tests