Tests for JavaScript data types