added test which tests near-miss class replacement with highest similarity
#16 changed algorism to replace the class nodes