fixed test context setup