Adjustments to C API tests

- Allow configuration of metaserver for unit tests
- Fix test that was dependent on -finit-local-zero
- Correct string format parameters for types
- Use correct type for chunks