Added ejs integration test and simplified post urls