make receipts test stand alone Fixes #707

review? @ochameau