app: link test-config against Z_LIBS