made tests less fragile

@Thinkscape could you maybe remove https://github.com/Thinkscape/Diagnostics so that https://github.com/zendframework/ZendDiagnostics becomes the canonical "root"?