Add spec for #check_for_localhome
Add spec for #check_webtype