Testing a possible 404 error returned by WordPress

Testing whether WordPress will return a 404 error if a page external to WP includes:

<?php require('./wp-config.php');
$wp->init();
$wp->parse_request();
$wp->query_posts();
$wp->register_globals();
?>