simple distance metrics tests