Update test
Better checking of whether profiles exist.