test entire stack. cleanup rewritten.rb