Added spec test for service