Unit testing execution for legacy code (part 1): Implementation