JApplicationDaemonTest::testWriteProcessIdFile

Tests the JApplicationDaemon::writeProcessIdFile method.