Pro Tip: Bluetooth Testing On The Cheap
Developing with bluetooth requires a lot of connectivity testing. You should invest in a high quality faraday bag in which you can place your bluetooth device in order to test various disconnect/reconnect states.
You don't always have your costly faraday bags with you, and you might need to run some tests. Say your IoT device needs to talk your app on your iPhone and you want to test how the app handles the device going away or suddenly coming into range...
Using a microwave will hide your bluetooth device very well (no cooking needed!) Just toss the BT device into the microwave, shut the door -- DO NOT turn it on -- and walk about 10 feet away and your bluetooth connection will be severed.
If you don't have a microwave lying around, but you do have some tinfoil - just wrap that bad boy device in the tinfoil trying to make it watertight. If water can't escape your tinfoil wrapping job then your bluetooth signal probably won't either.
Lesson Learned: When in a pinch pull a MacGyver - a microwave or some tinfoil goes a long way.