Change visibility of TAG and DEBUG to package private for testing purposes