Added test of invalid role attribute.