Test cases for Adapters