For an 8x8x12 sample would test lower if the 12" dimension is vertical compared to a test with the 8" dimension vertical. - Both would have shear failure. The increased friction on the horizontal surfaces of the 8" high test a little more like a confined compression sample.
Depending on the testing machine, there could be some effects if a platen plate is used and it can deflect and concentrate the load in the center of the sample.
I ran into this with some 2 block high 12" CMU prism samples showed a false compressive strength for the lab existing equipment.
The testing machine was only a 200,000 T-O and the lab used a thinner platen because of the usual vertical opening. They installed a thicker, more rigid platen and test results were about 20% higher.
If I have not requested photos for the failure mode, it could have been passed over as a failure to meet the specifications. The designing/spec writing firm was a little embarrassed even though the testing procedure the testing of a 12x16x16 solid sample.
Dick
Engineer and international traveler interested in construction techniques, problems and proper design.