fix spec test for add an extension twice