Fixed the redirect to www to add the path and exported the server and app for tests
Added tests to the build