Abstracting the test app creation.
Fixed up jade test fixtures.
Fixed the jade tests.