Add methods to handle collections.
Add more tests on collections.
Rename test script.