minimal cycle basis tests