[PATCH v3 1/2] scanf: convert self-test to KUnit