Added initial test suite and added file support to sample web app