Test widget saving