Add testthat infrastructure
Version 1.5

- Update documentation
- Add testthat infrastructure
- Add some tests