Why does my Ajax Get request give a 400 bad request?

Your nopriv action has wrong syntax.
add_action('wp_ajax_nopriv_test', 'do_ajax_get');