Move tests config files to `tests/conf`, add logging and displaying PHP errors