add a test that 1d JS estimate is right