Call to inAdapterView in tests