added tests for the ListView and modified the name of an internal method to be more descriptive