test with codec registry