offer template integration test finally fixed