Added tests for evaluateJavascript

Refs #457

I haven't added tests for executeScript as I don't what what I could assert (there is no return value for this method)