Testing while exists/doesn't exist