Added controller tests.
Changed root path of web application from /offset to /.