Fixed invalid TestCase class
Added phpunit to composer
Better sorting flag
Added rankEq
Updated docblock
Updated the readme