There is no such test. Immunity is not a yes/no concept. You can have very strong immunity and still die frim COVID due to cytokine storm. You can have a weak immunity and survive due to your body not responding to the virus, and it automatically died out. You can have a weak immunity and die because the virus proliferated very quickly.
Next Steps
Definitely take the vaccine as it will prevent severe illness and hospitalization.
Health Tips
Do not take any unnecessary medications without doctor's consultation.