Added semi-automated tests allowing much more efficient testing. Closes #29.