fix emitter_test to construct valid trees

Review URL: https://chromiumcodereview.appspot.com//13464017