Added class to test Adapter, before it's used and after