Cleaned up and added tests.
Tests: Written basic tests for is* methods.
Tests: Split tests into smaller parts.