Unit test with many objects to sort

@bmunkholm