Added unit tests mocking up beacon-related callbacks