Added test to cover Scheme.withHandler usecase