add slightly more robust test