Add tests.
Add standard cmake boilerplate.