Initialize test encoding. Change up test structure and continue building output structure