Removed unnecessary “done” from tests. Passed err to all done’s where appropriate. Did some formatting cleanup etc.
Merge pull request #565 from NicoleRauch/master

Cleanup