Initialize encoding basic test and modify spec / model structure