added template test
added hasCanvas test
added getUserMedia test
updates