changed to MIT license. new testthat best practices.