refactored spec to eliminate repitition of instantiantion