Dropping a database with DROP DATABASE ... IF NOT EXISTS will cause warnings to be logged if it doesn't exist. The masking_user test was missing the part that disables these warnings.
The tests used invalid JSON in the rule files.
Masking filter configuration update for tests