Your httpd.conf is missing a few minor items
1.) AddType is there (yay!)
2.) There's no PHPIniDir directive:
PHPIniDir /usr/local/apache/conf
3.) LoadModule is there (yay!)
Okay, so the only thing I see is that PHPIniDir isn't set. Try adding this somewhere to the httpd.conf file (somewhere not in the root of the file, not in a <Directory> or <Location> directive).
You might also try reworking your httpd.conf to use a check to see if the module loaded like so:
LoadModule php5_module modules/libphp5.so
<IfModule php5_module>
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
PHPIniDir /usr/local/apache/conf
</IfModule>
Other than that, I'm out of ideas because I can't see anything wrong. The only other things I can think it could be are:
1.) The module isn't loading properly
2.) The mime_module isn't loading when you load PHP
Sorry I can't be of much more help... but without knowing whether you had the php.ini in the conf directory the last 6 times you restarted the server or the last 6 times you accessed test.php it's difficult to really "debug" your error_log and access_log.