fixed test to get the indices right for the rel test
passes tests