Assignment identification in model.py changed to ast, Tests updated.