Added and tested clearDB on the PictureController.