fix context package tests