Fix counter and add tests

Current we are logging Bamboo's constants as the counter names which is incorrect. 
This is because we dynamically lookup the name whereas before we would statically call it.

e.g. `BAMBOO_SERVERERROR` being sent when it should be `bambooError500`.

Also adds tests for this which would have flagged the issue earlier.