Tested is_ajax method