wrote tests for editing when pictures are and arent present