adds test script for confidence intervals