test calls main with test file Reader