Added new threading hammer test.

Also tidied up comment.
https://issues.jboss.org/browse/JBTM-2088

Updated test to reflect some docs examples.