Add automated tests.