Move unit tests into classes.
Refactor tests to use nose assert_*
Strip leading node whitespace, node tests.