Generating Counterexamples in the form of Unit Tests from Hoare-style Verification Attempts