Unit test modified to be order independent