tidied up test spec.