Using forks for testing Locking