new encoder/decoder test added showing that encoding really does not work, TODO fix