Worked through QC global range test
Fixes some tests
Merge pull request #849 from lukecampbell/lookup_tables

Global Range Test