=== Test case: mam_SUITE:querying_for_all_messages_with_jid/1 (click for source code)

=== Config value:

    [{props,[{mam_ns,<<"urn:xmpp:mam:1">>}]},
     {watchdog,<0.31122.0>},
     {basic_group,mam_all},
     {configuration,rdbms_mnesia},
     {mod_offline_loaded,false},
     {escalus_user_db,{module,escalus_ejabberd}},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/mam_SUITE_data"},
     {preset,"odbc_mssql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@88d84ff17c71.2022-03-04_11.16.52/big_tests.tests.mam_SUITE.logs/run.2022-03-04_11.20.29/mam_suite.querying_for_all_messages_with_jid.48387.html"},
     {tc_group_properties,[{name,mam04},parallel]},
     {tc_group_path,[[{name,rdbms_mnesia_mam_all},parallel]]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/mam_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@88d84ff17c71.2022-03-04_11.16.52/big_tests.tests.mam_SUITE.logs/run.2022-03-04_11.20.29/log_private/"},
     {config_backup,#{[shaper,fast] => {ok,#{max_rate => 50000}},
                      [shaper,mam_shaper] => {ok,#{max_rate => 1}},
                      [shaper,normal] => {ok,#{max_rate => 1000}},
                      [{access,<<"test type">>},max_user_sessions] =>
                          {ok,[#{acl => all,value => 10}]}}},
     {{saved_modules,mongooseim@localhost,<<"test type">>},
      #{mod_adhoc => [],mod_amp => [],mod_bosh => [],
        mod_cache_users => [{number_of_segments,5},{time_to_live,2}],
        mod_carboncopy => [],mod_commands => [],
        mod_disco => [{users_can_see_hidden_services,false}],
        mod_mam => [{archive_groupchats,false}],
        mod_mam_mnesia_prefs => [{pm,true}],
        mod_mam_rdbms_arch => [],
        mod_mam_rdbms_user => [{pm,true}],
        mod_muc =>
            [{host,{prefix,<<"groupchats.">>}},
             {backend,rdbms},
             {hibernate_timeout,2000},
             {hibernated_room_check_interval,1000},
             {hibernated_room_timeout,2000},
             {access,muc},
             {access_create,muc_create}],
        mod_muc_commands => [],mod_muc_light_commands => [],
        mod_muc_log => [{outdir,"/tmp/muclogs"},{access_log,muc}],
        mod_register =>
            [{access,register},
             {ip_access,[{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
             {welcome_message,{[],[]}}],
        mod_roster => [{backend,rdbms}],
        mod_sic => [],mod_stream_management => [],
        mod_vcard => [{backend,rdbms},{host,{prefix,<<"vjud.">>}}]}},
     {escalus_users,[{alice,[{username,<<"alicE">>},
                             {server,<<"domain.example.com">>},
                             {host,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"domain.example.com">>},
                           {host,<<"localhost">>},
                           {password,<<"makrolika">>}]},
                     {kate,[{username,<<"kate">>},
                            {server,<<"domain.example.com">>},
                            {host,<<"localhost">>},
                            {password,<<"makrowe;p">>}]},
                     {carol,[{username,<<"carol">>},
                             {server,<<"domain.example.com">>},
                             {host,<<"localhost">>},
                             {password,<<"jinglebells">>},
                             {transport,escalus_bosh},
                             {path,<<"/http-bind">>},
                             {port,5280}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@88d84ff17c71.2022-03-04_11.16.52"

=== Started at 2022-03-04 11:20:56


*** CT 2022-03-04 11:20:56.051 *** View log from node mongooseim@localhost when started mongooseim@localhost_1372.html
*** CT 2022-03-04 11:20:56.051 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_529.html

*** User 2022-03-04 11:20:56.447 ***
alicE_unnamed_1126@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-04 11:20:56.447 ***
alicE_unnamed_1126@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='47d2d89f0460ab1e' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:20:56.447 ***
alicE_unnamed_1126@domain.example.com/res1 in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-03-04 11:20:56.447 ***
alicE_unnamed_1126@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VubmFtZWRfMTEyNgBtYXR5Z3J5c2E=</auth>



*** User 2022-03-04 11:20:56.449 ***
alicE_unnamed_1126@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:20:56.449 ***
alicE_unnamed_1126@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-04 11:20:56.449 ***
alicE_unnamed_1126@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='94694ff5d51cc8d3' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:20:56.449 ***
alicE_unnamed_1126@domain.example.com/res1 in
<stream:features>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-03-04 11:20:56.449 ***
alicE_unnamed_1126@domain.example.com/res1 out
<iq type='set' id='59ff8bebf7056fe7c5e0346e8959ede1'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:20:56.449 ***
alicE_unnamed_1126@domain.example.com/res1 in
<iq id='59ff8bebf7056fe7c5e0346e8959ede1' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_unnamed_1126@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:20:56.449 ***
alicE_unnamed_1126@domain.example.com/res1 out
<iq type='set' id='81ead58b352fd0100bd85cce378c96d9'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:20:56.449 ***
alicE_unnamed_1126@domain.example.com/res1 in
<iq type='result' id='81ead58b352fd0100bd85cce378c96d9'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:20:56.450 ***
alicE_unnamed_1126@domain.example.com/res1 out
<presence/>



*** User 2022-03-04 11:20:56.451 ***
alicE_unnamed_1126@domain.example.com/res1 in
<presence from='alicE_unnamed_1126@domain.example.com/res1' to='alice_unnamed_1126@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-04 11:20:56.452 ***
alicE_unnamed_1126@domain.example.com/res1 out
<iq type='set' id='39b8696b0ee6be2b86c62cbc6b0e21e2'>
	<query xmlns='urn:xmpp:mam:1'>
		<x xmlns='jabber:x:data'>
			<field var='with'>
				<value>bob_unnamed_1126@domain.example.com</value>
			</field>
		</x>
	</query>
</iq>



*** User 2022-03-04 11:20:56.469 ***
alicE_unnamed_1126@domain.example.com/res1 in
<message from='alicE_unnamed_1126@domain.example.com' to='alicE_unnamed_1126@domain.example.com/res1' id='dd60c557-7b68-4f4c-a039-4c455609f1df'>
	<result xmlns='urn:xmpp:mam:1' id='BM167GQBV001'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-02-16T17:46:54Z' from='alice_unnamed_1126@domain.example.com'/>
			<message from='alice_unnamed_1126@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_1126@domain.example.com' type='chat'>
				<body>79351241</body>
			</message>
		</forwarded>
	</result>
</message>



*** User 2022-03-04 11:20:56.469 ***
alicE_unnamed_1126@domain.example.com/res1 in
<message from='alicE_unnamed_1126@domain.example.com' to='alicE_unnamed_1126@domain.example.com/res1' id='35408379-7221-4403-877f-1b95b7d6f23d'>
	<result xmlns='urn:xmpp:mam:1' id='BM1HURKC7G04'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-02-17T07:46:31Z' from='alice_unnamed_1126@domain.example.com'/>
			<message from='alice_unnamed_1126@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_1126@domain.example.com' type='chat'>
				<body>468142d9</body>
			</message>
		</forwarded>
	</result>
</message>



*** User 2022-03-04 11:20:56.469 ***
alicE_unnamed_1126@domain.example.com/res1 in
<message from='alicE_unnamed_1126@domain.example.com' to='alicE_unnamed_1126@domain.example.com/res1' id='0e7d2a09-72c5-40f3-9dd4-a2400e5e09a8'>
	<result xmlns='urn:xmpp:mam:1' id='BM27NTQSV00K'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-02-18T09:45:50Z' from='alice_unnamed_1126@domain.example.com'/>
			<message from='alice_unnamed_1126@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_1126@domain.example.com' type='chat'>
				<body>5e34a50f</body>
			</message>
		</forwarded>
	</result>
</message>



*** User 2022-03-04 11:20:56.469 ***
alicE_unnamed_1126@domain.example.com/res1 in
<message from='alicE_unnamed_1126@domain.example.com' to='alicE_unnamed_1126@domain.example.com/res1' id='4db31363-7264-4d97-a8d9-6a41e9d9bbe0'>
	<result xmlns='urn:xmpp:mam:1' id='BM36GQRQF00K'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-02-19T22:29:02Z' from='alice_unnamed_1126@domain.example.com'/>
			<message from='alice_unnamed_1126@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_1126@domain.example.com' type='chat'>
				<body>0ab491ff</body>
			</message>
		</forwarded>
	</result>
</message>



*** User 2022-03-04 11:20:56.469 ***
alicE_unnamed_1126@domain.example.com/res1 in
<message from='alicE_unnamed_1126@domain.example.com' to='alicE_unnamed_1126@domain.example.com/res1' id='ddcb6d82-f947-4a09-9483-7a868d56865e'>
	<result xmlns='urn:xmpp:mam:1' id='BM3HPAVMO009'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-02-20T11:55:28Z' from='alice_unnamed_1126@domain.example.com'/>
			<message from='alice_unnamed_1126@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_1126@domain.example.com' type='chat'>
				<body>65c54eb9</body>
			</message>
		</forwarded>
	</result>
</message>



*** User 2022-03-04 11:20:56.469 ***
alicE_unnamed_1126@domain.example.com/res1 in
<message from='alicE_unnamed_1126@domain.example.com' to='alicE_unnamed_1126@domain.example.com/res1' id='d9812c3a-8c89-4e34-85c6-77269aabd9e0'>
	<result xmlns='urn:xmpp:mam:1' id='BM495EBIOG0J'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-02-21T15:48:57Z' from='alice_unnamed_1126@domain.example.com'/>
			<message from='alice_unnamed_1126@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_1126@domain.example.com' type='chat'>
				<body>282b1208</body>
			</message>
		</forwarded>
	</result>
</message>



*** User 2022-03-04 11:20:56.469 ***
alicE_unnamed_1126@domain.example.com/res1 in
<message from='alicE_unnamed_1126@domain.example.com' to='alicE_unnamed_1126@domain.example.com/res1' id='8f626d27-e81d-4201-8c0d-9f9180f3d42b'>
	<result xmlns='urn:xmpp:mam:1' id='BM4SJENIR00F'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-02-22T15:00:22Z' from='alice_unnamed_1126@domain.example.com'/>
			<message from='alice_unnamed_1126@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_1126@domain.example.com' type='chat'>
				<body>a10932ff</body>
			</message>
		</forwarded>
	</result>
</message>



*** User 2022-03-04 11:20:56.470 ***
alicE_unnamed_1126@domain.example.com/res1 in
<message from='alicE_unnamed_1126@domain.example.com' to='alicE_unnamed_1126@domain.example.com/res1' id='176c163e-8feb-4175-9ae3-c58295fb3925'>
	<result xmlns='urn:xmpp:mam:1' id='BM5HA0IO6G0I'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-02-23T15:42:29Z' from='alice_unnamed_1126@domain.example.com'/>
			<message from='alice_unnamed_1126@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_1126@domain.example.com' type='chat'>
				<body>ff2080e5</body>
			</message>
		</forwarded>
	</result>
</message>



*** User 2022-03-04 11:20:56.470 ***
alicE_unnamed_1126@domain.example.com/res1 in
<message from='alicE_unnamed_1126@domain.example.com' to='alicE_unnamed_1126@domain.example.com/res1' id='11bafc78-2afb-419b-8a92-0c27f519a049'>
	<result xmlns='urn:xmpp:mam:1' id='BM6852TQO00A'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-02-24T18:57:52Z' from='alice_unnamed_1126@domain.example.com'/>
			<message from='alice_unnamed_1126@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_1126@domain.example.com' type='chat'>
				<body>3b306d8a</body>
			</message>
		</forwarded>
	</result>
</message>



*** User 2022-03-04 11:20:56.470 ***
alicE_unnamed_1126@domain.example.com/res1 in
<message from='alicE_unnamed_1126@domain.example.com' to='alicE_unnamed_1126@domain.example.com/res1' id='b4534170-b896-4b10-aaa1-a2b91fcb2f19'>
	<result xmlns='urn:xmpp:mam:1' id='BM70D2U58G05'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-02-25T23:53:45Z' from='alice_unnamed_1126@domain.example.com'/>
			<message from='alice_unnamed_1126@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_1126@domain.example.com' type='chat'>
				<body>458bb840</body>
			</message>
		</forwarded>
	</result>
</message>



*** User 2022-03-04 11:20:56.470 ***
alicE_unnamed_1126@domain.example.com/res1 in
<message from='alicE_unnamed_1126@domain.example.com' to='alicE_unnamed_1126@domain.example.com/res1' id='c502bdbb-1fe0-4ea8-bde5-79ced70875df'>
	<result xmlns='urn:xmpp:mam:1' id='BM70RO4Q0G01'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-02-26T00:26:33Z' from='alice_unnamed_1126@domain.example.com'/>
			<message from='alice_unnamed_1126@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_1126@domain.example.com' type='chat'>
				<body>b1b8bdfb</body>
			</message>
		</forwarded>
	</result>
</message>



*** User 2022-03-04 11:20:56.470 ***
alicE_unnamed_1126@domain.example.com/res1 in
<message from='alicE_unnamed_1126@domain.example.com' to='alicE_unnamed_1126@domain.example.com/res1' id='24a40f73-c0e5-49e9-9375-1109f7906ba7'>
	<result xmlns='urn:xmpp:mam:1' id='BM7LDNBSSG03'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-02-27T00:58:25Z' from='alice_unnamed_1126@domain.example.com'/>
			<message from='alice_unnamed_1126@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_1126@domain.example.com' type='chat'>
				<body>046897e1</body>
			</message>
		</forwarded>
	</result>
</message>



*** User 2022-03-04 11:20:56.470 ***
alicE_unnamed_1126@domain.example.com/res1 in
<message from='alicE_unnamed_1126@domain.example.com' to='alicE_unnamed_1126@domain.example.com/res1' id='dac0c16f-12d7-4dbe-88fe-2669512c6b48'>
	<result xmlns='urn:xmpp:mam:1' id='BM8HUTRH0G07'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-02-28T11:01:13Z' from='alice_unnamed_1126@domain.example.com'/>
			<message from='alice_unnamed_1126@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_1126@domain.example.com' type='chat'>
				<body>dcaf61f6</body>
			</message>
		</forwarded>
	</result>
</message>



*** User 2022-03-04 11:20:56.470 ***
alicE_unnamed_1126@domain.example.com/res1 in
<message from='alicE_unnamed_1126@domain.example.com' to='alicE_unnamed_1126@domain.example.com/res1' id='9e1a2864-3377-4f07-b5ad-6cbbd4229354'>
	<result xmlns='urn:xmpp:mam:1' id='BM94LU7IVG08'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-03-01T09:21:11Z' from='alice_unnamed_1126@domain.example.com'/>
			<message from='alice_unnamed_1126@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_1126@domain.example.com' type='chat'>
				<body>853e975e</body>
			</message>
		</forwarded>
	</result>
</message>



*** User 2022-03-04 11:20:56.470 ***
alicE_unnamed_1126@domain.example.com/res1 in
<message from='alicE_unnamed_1126@domain.example.com' to='alicE_unnamed_1126@domain.example.com/res1' id='f26a2504-cbde-495c-8696-53508e11995c'>
	<result xmlns='urn:xmpp:mam:1' id='BM9SD0HU000F'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-03-02T13:39:12Z' from='alice_unnamed_1126@domain.example.com'/>
			<message from='alice_unnamed_1126@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_1126@domain.example.com' type='chat'>
				<body>ccff6713</body>
			</message>
		</forwarded>
	</result>
</message>



*** User 2022-03-04 11:20:56.470 ***
alicE_unnamed_1126@domain.example.com/res1 in
<message from='alicE_unnamed_1126@domain.example.com' to='alicE_unnamed_1126@domain.example.com/res1' id='4c41da8e-5128-4a3f-998a-fd014e7c4b28'>
	<result xmlns='urn:xmpp:mam:1' id='BMA746QNJG0C'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-03-03T02:26:55Z' from='alice_unnamed_1126@domain.example.com'/>
			<message from='alice_unnamed_1126@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_1126@domain.example.com' type='chat'>
				<body>0c463449</body>
			</message>
		</forwarded>
	</result>
</message>



*** User 2022-03-04 11:20:56.470 ***
alicE_unnamed_1126@domain.example.com/res1 in
<message from='alicE_unnamed_1126@domain.example.com' to='alicE_unnamed_1126@domain.example.com/res1' id='53d9cc32-ddea-423e-a44d-51c901a9bdce'>
	<result xmlns='urn:xmpp:mam:1' id='BMB0BBLI2G0E'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-03-04T08:32:29Z' from='alice_unnamed_1126@domain.example.com'/>
			<message from='alice_unnamed_1126@domain.example.com' xmlns='jabber:client' to='bOb_unnamed_1126@domain.example.com' type='chat'>
				<body>fe2564c1</body>
			</message>
		</forwarded>
	</result>
</message>



*** User 2022-03-04 11:20:56.470 ***
alicE_unnamed_1126@domain.example.com/res1 in
<iq from='alicE_unnamed_1126@domain.example.com' to='alicE_unnamed_1126@domain.example.com/res1' id='39b8696b0ee6be2b86c62cbc6b0e21e2' type='result'>
	<fin xmlns='urn:xmpp:mam:1' complete='true'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first index='0'>BM167GQBV001</first>
			<last>BMB0BBLI2G0E</last>
			<count>17</count>
		</set>
	</fin>
</iq>



*** User 2022-03-04 11:20:56.471 ***
alicE_unnamed_1126@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-04 11:20:56.471 ***
alicE_unnamed_1126@domain.example.com/res1 in
</stream:stream>
*** CT 2022-03-04 11:20:56.479 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_529.html
*** CT 2022-03-04 11:20:56.480 *** View log from node mongooseim@localhost when finished mongooseim@localhost_1376.html



=== Ended at 2022-03-04 11:20:56
=== successfully completed test case
=== === Returned value: ok