Add source file for new test that checks that as-patterns are rejected
in pattern synonym definitions