test with String as comparable object passes