testing, issue #1104: Make the test use static flags

@creack: I think this is what you have in mind. As you pointed out, tests and packaging will break if this PR is pulled before proper corrections are in place.