Add unit test for Service.all(), Setting.retrieve() and Setting.all()