Adding tests and template from original repository.