add tests for inc/ajax-functions.php