Test main-method in Picture for saving a picture in the database.