adding detrending tests
Merge branch 'master' of https://github.com/dfm/bart