modify test for milliseconds to just compute interval. fixes timing issues with jruby during test runs