Creating test for the getUserMedia api