src/client/: add main.c from tests