added api for iBeacon tests