changes adapter class visibility and improves ITest