Fix expression in AllCapsFilter

Add max-chars variable

Update unit test