Integration test for prompt chain