Added tests for is_an_bn