add beacon distance test method.