Tests for basic types