BUG: Use two- not one-sided t-test in t_test. Closes #740.