Shorten test times

Fixes #167.