Glad you got it running.
I've never sold a bike myself. But I've heard that it's a good idea to have the cash in your hands if the guy wants to take a test ride. If he doesn't want the bike, you can give the cash back, but in case anything happens then it's now his bike. Though I've bought a few used bikes and I've never handed over the cash before testing the bike out. So I don't know how well this would actually work.