Superficial changes
Fixed test code. Added basic tests to parser. Decided to go ahead and implement code to remove mystery trailer from binary attachment data.