properly convert atoms to strings
Added full test suite for bencoder