fix type teste in context.py