pies working in test template