kendalltau function now returns a nan tuple if empty arrays used as para...

...meters instead of raising a runtime exception. Previously, empty arrays would have cause a maximum recursion depth exceeded error in mergesort if the provided arrays were empty (issue #3884).
Sure, I changed the checking for both the tie case and empty array case to use `assert_equal`.