The tests seemed to be failing because orders were being created without
a billing ID, so a random md5 email address was being inserted into the
customer lookup table instead of the actual email address, causing the
queries to return nothing. In addition to fixing that, I added some
cleanup to ensure that these tests don't leave behind any WC data.