Add test for the `Beacon API`

W3C Specification:
https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/Beacon/Overview.html