Sort keyword args so that the tests are saner.
Correct type test
Wrong comparison
Some bad assignment syntax
More tests

Still need to test roots (for kwargs) and as_list results.