Added spec test for unattended-upgrades class