Check for wp_error in edd_test_ajax_works()