tests can now deal with null orderlines