Fix async Query test
DEBUG_ARGS macro, added some debugs
OPTIONAL_FUN_ARG() now returns Null() if there is no function argument