Added basic tests for similarity endpoint