fixed uniform_type unit test