Fixed readOnly event handling bug
Added test branch according to prevoius commit