adds test and rake tasks