move stuff to testing.rb