Added tests and updated cause to v8