test: removing common.expectsError since it's not needed anymore for asserts
requested to merge github/fork/AndresMorelos/remove-common-expectsError-permissions-fs-write into main
Since we can now pass an object as a second param for assert.throws
function we don't need the common.expectsError
function anymore,