Extract helpers
Update tests to use their own compiled prompt location