Fixed up restclient spark added a spark test