Add shouldAssignPassword test