additional tests added and working. Many fixes for activeWord bugs