Incorporate Jasmine tests into server tests

-Incorporate Jasmine tests into server tests
-run server only if we're running from Node