Added several tests for Type.