add file separator
fix bug with no output in test