Added role authorisation testing code. Renamed user authorisation testing code.