Testing the HadronCollision library