fixed prefix creation and new decoder support (in test)