@Test
public void testUserTags() throws HandlerException {

  BaseHandler.CONFIG_FILE = "/config/handler_config_user_tags.json";
  TestContext context = new TestContext();
  context.setInvokedFunctionArn("arn:aws:lambda:us-east-1:123:function:test:test_tags");
  HashMap<String, String> expected = new HashMap<String, String>() {
    {
      put("u1", "foo");
      put("u2", "bar");
    }
  };
  handler.init(context);
  Map<String, String> actual = handler.monitor.getTagsMap();
  assertTrue(actual.entrySet().containsAll(expected.entrySet()));
}