src: Updates (bug fixes) to similarity tests now that all code is in place and tests can actually be run.