Receipt test with mock