fix unit tests for haversine function

While I was adapting this handy script to my AngularJS project, I noticed that the unit tests didn't make a whole lot of sense to me. For starters, the options object wasn't being passed to the haversine function. Also, default units are in km, not miles, so only the first test needs the options parameter.