Replaced commented out Order tests with new ranking tests
Improved tests
RankLogic is an object because it does not need to be a class for now and we are not sure if it would work if it was.