fix encode3 test
fix encode3 test
add edw tests
add edw tests
all extraneous integers removed