update spec
refactor servicesSpec.js