Made tests be able to check standard output