Emerging of the COVID-19 pandemic encouraged rapid studies to understand its cause, risk factors, symptoms, and mitigation that, can be taken against coronavirus. The US Department of Health and Human Services is leading in advocating for Americans to be tested for the coronavirus as it is an essential step in fighting the virus. Fighting against coronavirus testing is vital but, it is an individual choice to take a test or not. This study attempts to establish a prediction model using the gradient boosting and artificial neural network (ANN) technique to establish some background factors about a person that can influence their choice to take the COVID-19 test. Using COVID-19 survey data from the Understanding American Study website, several models were fitted using different machine learning techniques. The gradient boosting and ANN models emerged to be the best in terms of model performance, with AUC values of 0.7409 and 0.9525, respectively. The model was trained and tested using 280 and 120 observations, respectively. Given such high model performances, these models can be used in predicting if an individual can take a corona test or not, which can be useful information.