add unit tests for apple pay xml injection