fix typos in previous commit, both in code and in spec.  now a more robust spec.