refactored file systems function out of pvssocketserver to facilitate easier testing
added server tests using jasmine-node library