Added flac and wav as media formats. Updated tests. Closes #86