Added test library and added unit tests to ListAdapter.