wp_set_auth_cookie() – These are pluggable functions that should have been loaded earlier We may not need them for in situ so wrapping in function_exists tests.
WP_UnitTestCase::assertQueryTrue() – Check each of the WP_Query is_* functions/properties against expected boolean value.