Tested stripBrackets.