Added unit tests for regex rewrites of results & minor documentation cleanup.