testing offline first for create event