http://news.ycombinator.com/submitted?id=access_denied
It disturbs me that, looking over past submissions and comments, there doesn't seem to be any egregiously bad behaviour.
Step #1 to making myself a million doing it: grow a business to where it gets $20 million in sales annual. Step #2: Successful A/B test.
Or, alternatively, make $CLIENT a million and get paid handsomely, without the "build a business for a decade" step.
I provide unit tests and documentation for projects - many others don't. Well... showing that to a client and saying "you're getting this which will help you understand what I'm doing, and help future devs understand what I did" is just good sense. If the client values it, they will pick you over someone else. If they don't value it, they will after they choose the cowboy over you . :)