Test context setup