added tests in DataService