add spec test for expression with <registry>

https://bugzilla.redhat.com/show_bug.cgi?id=1160791
Merge pull request #990 from bzwei/quote_expression_spec

add spec test for expression with <registry>