Some changes to match the conventions:

* Changed "!= null" to "!is null".
* Made compile-time assertable asserts in the unit tests static.