Added tests for javascript event edit/delete