class definitions in test spec files