add test to make sure files are added on post