Tidy stats test functions.
Support -L expression, closes #4.