function test_contexts()
    lims = [0.0 1.0; 99.0 100.0]
    cdist = UniformContext(lims)
    X = sample(1, cdist)
    @test lims[1, 1] < X[1, 1] < lims[1, 2]
    @test lims[2, 1] < X[1, 2] < lims[2, 2]
end

test_contexts()