Add tests for similarities.utils