Add license header to asX
Rename asX test to asList, and rename test var too for clarity
Add example code to asList() javadocs
Fix test name typo
Add asString(), in line with asList()