Added mode properties
Initial commit
doctest is a little bit cleaner
Unit tests no longer use deprecated methods
Added more unit tests; unit tests no longer use deprecated methods
Unit tests no longer use deprecated methods