Added another example/test for new_decoder