testing of beacon