added tests to BMTest