Added macro to set logging level
Added rudimentary tests for ID token generator