Added example to tests file, fixed error in CSS and made matcWholeWord operate more concisely