updated testing_spec, removed unworking refactored code from testing.rb