Adds tests for rhino and v8