Remove obsolete test
Move extension configuration to the main script