added file reader tests, updated web test code