Are those leading spaces (see also ``test_view_authorized``) by intention? This would not match ``</div><h1>`` - but maybe it should?