updated facility tests to take the context constructor argument