fix lib
tests: add base_init_auto_refine

Signed-off-by: Jean Privat <jean@pryen.org>