Added test of expandContext option.