edit jasmine test and add server example