Add test cases to static plugin to demonstrate failure with certain regular expressions, see project issue #496