fix for karma test:server

#46