Added tests for Manhattan distance