test: add with extension patterns