Add test for ForbiddenConstantsCheck
Add test for DeprecatedConstantsCheck
Migrate DeprecatedConstantsCheck to CodeCheckVisitor