moved helper methods to new class
Added gradient boosting tests