Added tests for reversedHeads and combinations
Migrate badges to shields.io svg format
Changed tabs to spaces
Renamed findIndexBy function argument to clarify its role