changed expected -> expectations; returning NullAst instead of nullptr... -sai