fix failing ast tests