Improve the test for bluetooth communication class.