There is a thing called a mechanics lien and once you file it and the owner of the building finds out the general contractor generally pays real quick. You must file within a certain time frame I understand a little different from state to state. My homeowners association was doing a major roofing job and when we found out we had a lien the homeowners association paid and deducted from roofing contractor's contract. When all else fails this works however you may do the contractors work again. But you will get paid.
I have heard so many stories of liens and how they don't work I wonder if they are ever worth the hassle. It seems only if the payer rolls over and pays, then the outcome is favorable. At least in the midwest.
I don't know how common liens are in commercial work. I've never seen them happen.
Concrete Answers for Flooring Problems
Don't really know regarding concrete testing but the roofing job was 750.000 job. 203 units, and when a homeowner wanted to sell and found out he couldn't due to lien he informed the board and the property management company paid and deducted as I stated before. Of course the project was ongoing eventually we tossed out the company and had another finish. A friend had a lien due to a judgement in a car accident he went to sell his house 2 years later and discovered a lien on his property. Luckily he was able to track the guy down as he moved and paid him.
However nothing is guaranteed! It is just another avenue to pursue for payment you are unable to collect any other way.