Comitting junit fix for AdapterTest.