Added tests for all the service. This test can be more perfect but for now it will work.