Better lock_guard tests