configuration and tests