bluetooth: adjust test code

remove main_test.go and add utils_test.go

Change-Id: Ia7fbf059af817ea315b43e26c871661ac9a29616