add more qsc reader tests.  Fix bugs in qsc reader found with tests.