Refactor feature tests and fix directory discovery

- Refactors feature tests to construct full express applications
- Fixes bug where appDir is relative to the __dirname of epxrestive.js