cancellation point test by Alexander Monakov