Why is loyalty to God tested through obedience?