Add test for csv serde
Add more javadoc