Added tests for List class.