Warn infer shape test