Made tests pass

Changed fixture + repr fix in FileCapture.