fix bug on extension test (pull #254) - minified version