Massive refactoring of tests, now stash descriptor, java and wire output in tests, with a rake task to regenerate them.