Added code coverage for tests
Replaced tabs with spaces globally
Made app port configurable

still defaults to 3000 though.
Also added test port in tests