Introduces the test framework

o introduces test framework thestthat #33
o Adds first tests and integrates the tests into the package check
=> one problem with testing in our case is they rely on data in BEFdata
   as some sort of fixtures. This makes them a bit brittle.