Fix demonize test for php 5.4