Reimplemented the way BLEPeripheralDevice is designed as singleton.
Also changed the tester.