null object pattern api tested