update parser
update tests, and added assign test