Write test for 3gp to amr conversion.
Fix InputStream reading bug in the media tests.