Fix undefined dereference in statsd mapper.
Start updating the statsd mapper unit tests.