Add test for `Proximity Events`

Ref: http://www.w3.org/TR/proximity/
Merge pull request #1373 from alrra/proximity

Add test for `Proximity API`