draft port of the smoke tests doc from the wiki.