Create internal functions for testing

As devtools::load_all() loads all defined below R/, you can create internal functions to run your tests.

.                              
├── ...
└── R
    ├── ...
    ├── test-helpers.R
    ├── test-utils.R
    ├── testthat.R
    ├── utils-testing.R
    └── ...