unit test for bug
using new context facilities