create CountInversionsTest.php