Uncommented unittest, code indicates it is not supposed to work (?)
get_mediums() implementation changed, updated unittest
Convert Row object to dict in TestFileUpload