Generalizing the tests for sort algorithms