Fix extension warnings test