Recovering unit testing doc.

Partially reverting 8b2ba8aed14ceaf3b3669f4df922dac5efd9c042.
Reformatting testing guide.
Split analysis from quality readme and add intro text.