Added tests for List and Updated JavaDoc