injected testing code