Added basic testing infrastructure accessible via make check.