make pattern transformation tests run faster