copying some to GBM tests