I can think of 3 possibilities: 1. God selects and determines in advance who is admitted to Heaven. 2. God selects some people in advance for Heaven and lets the rest choose for themself where they shall go wither on the basis of good works or "believing" or some secret combination of both. 3. God takes pot luck and takes people who pass the test (whatever it is) on their own - like the College Boards or a civil service exam with no veteran's preference.