fix tests after template prettify