mostly whitespace and formatting changes, removed try/catch from unittest

Signed-off-by: alexlehm <alexlehm@gmail.com>