Making php tests non-interactive and properly report failures