Added Tests for Local Adapter