Added test command and corrected Express export for tests.
Added flash and sessions.