Add tests and build scripts.