Fix NPEs in offer tests