Add unit test to explicitly test qualifier precedence.