add functions for tests off the BBB