Tests for typed number accessors.