Add dump unit tests
 #2 Update docs