added tests and google service