Add minimal test suite

Closes #5