Add order of precedence tests.

Signed-off-by: Michael Gooden <michael@bluepointweb.com>