Google Reaches $1 Trillion in Value, Even as It Faces New Tests