[ticket/11620] Added a test for checking if users are banned

PHPBB3-11620