Added install_candidate flag
Added upgrade testing