Modify spec test case for apt_has_updates