putting async stuff in service
adding basic tests